package com.jinyao.exploit.modules.sys.dao;

import com.jinyao.exploit.common.base.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/***********************************************************************
 * 文件说明：
 * 创建信息：李晋 2018/12/10 16:25
 * 变更履历： 
 ***********************************************************************/
@FeignClient(value = "database-service", path = "${dataPath}/sys/user")
public interface UserDao {
    @GetMapping(value = "get")
    User get(@RequestParam(value = "id") long id);
}
